﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Liberty.Controls.Rules
{
    [Serializable]
    public class ValidationRule : AbstractRule
    {
        #region Constants
        #endregion

        #region Event Handlers
        #endregion

        #region Methods
        #endregion

        #region Properties
        public string ValidatorID
        {
            get
            {
                return i_ValidatorID;
            }
            set
            {
                i_ValidatorID = value;
            }
        }
        #endregion

        #region Private Methods
        #endregion

        #region Private Properties
        #endregion

        #region Construction and Finalization
        public ValidationRule()
            : this( String.Empty )
        {
        }

        public ValidationRule( string validatorID )
        {
            this.ValidatorID = validatorID;
        }
        #endregion

        #region Data Elements
        private string i_ValidatorID;
        #endregion
    }
}
